Kleene closure - définition. Qu'est-ce que Kleene closure
Diclib.com
Dictionnaire ChatGPT
Entrez un mot ou une phrase dans n'importe quelle langue 👆
Langue:

Traduction et analyse de mots par intelligence artificielle ChatGPT

Sur cette page, vous pouvez obtenir une analyse détaillée d'un mot ou d'une phrase, réalisée à l'aide de la meilleure technologie d'intelligence artificielle à ce jour:

  • comment le mot est utilisé
  • fréquence d'utilisation
  • il est utilisé plus souvent dans le discours oral ou écrit
  • options de traduction de mots
  • exemples d'utilisation (plusieurs phrases avec traduction)
  • étymologie

Qu'est-ce (qui) est Kleene closure - définition

UNARY OPERATION ON SETS OF STRINGS, USED IN REGULAR EXPRESSIONS FOR "ZERO OR MORE REPETITIONS"
Kleene closure; Kleene plus; Star operation; Σ*; Kleene operator; Kleene operators; Star closure

Kleene closure         
Kleene star         
<text> (Or "Kleene closure", named after Stephen Kleene) The postfix "*" operator used in regular expressions, Extended Backus-Naur Form, and similar formalisms to specify a match for zero or more occurrences of the preceding expression. For example, the regular expression "be*t" would match the string "bt", "bet", "beet", "beeeeet", and so on. (2000-07-26)
Kleene star         
In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics,

Wikipédia

Kleene star

In mathematical logic and computer science, the Kleene star (or Kleene operator or Kleene closure) is a unary operation, either on sets of strings or on sets of symbols or characters. In mathematics, it is more commonly known as the free monoid construction. The application of the Kleene star to a set V {\displaystyle V} is written as V {\displaystyle V^{*}} . It is widely used for regular expressions, which is the context in which it was introduced by Stephen Kleene to characterize certain automata, where it means "zero or more repetitions".

  1. If V {\displaystyle V} is a set of strings, then V {\displaystyle V^{*}} is defined as the smallest superset of V {\displaystyle V} that contains the empty string ε {\displaystyle \varepsilon } and is closed under the string concatenation operation.
  2. If V {\displaystyle V} is a set of symbols or characters, then V {\displaystyle V^{*}} is the set of all strings over symbols in V {\displaystyle V} , including the empty string ε {\displaystyle \varepsilon } .

The set V {\displaystyle V^{*}} can also be described as the set containing the empty string and all finite-length strings that can be generated by concatenating arbitrary elements of V {\displaystyle V} , allowing the use of the same element multiple times. If V {\displaystyle V} is either the empty set ∅ or the singleton set { ε } {\displaystyle \{\varepsilon \}} , then V = { ε } {\displaystyle V^{*}=\{\varepsilon \}} ; if V {\displaystyle V} is any other finite set or countably infinite set, then V {\displaystyle V^{*}} is a countably infinite set. As a consequence, each formal language over a finite or countably infinite alphabet Σ {\displaystyle \Sigma } is countable, since it is a subset of the countably infinite set Σ {\displaystyle \Sigma ^{*}} .

The operators are used in rewrite rules for generative grammars.